
.shipping-rate-content {
    margin-top: 10px;
}

.table-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.table-container {
    margin-bottom: 15px;
    border: 1px solid #ccc;
}

.table-scrollable {
    overflow: auto;
    max-height: 300px;
}

.main-table {
    flex: 1 1 70%;
    min-width: 300px;
    margin-right: 15px;
}

.matching-locations {
    flex: 1 1 25%;
    min-width: 200px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
    white-space: nowrap;
}

th {
    background-color: #f0f0f0;
    font-weight: normal;
    position: sticky;
    top: 0;
    z-index: 1;
}

.matching-locations th[colspan="2"] {
    text-align: center;
}

.fee-section {
    display: flex;
    margin-bottom: 15px;
    width: 100%;
}

.fee-table-container {
    flex: 1;
    margin-right: 20px;
    min-width: 0;
}

.additional-controls {
    width: 250px;
    flex-shrink: 0;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.control-item {
    margin-bottom: 15px;
}

.control-item label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.control-item select,
.control-item input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.checkbox-item {
    display: flex;
    align-items: center;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 5px;
}

.checkbox-item label {
    display: inline;
    font-weight: normal;
}

@media (max-width: 1200px) {
    .fee-section {
        flex-direction: column;
    }

    .fee-table-container,
    .additional-controls {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .additional-controls {
        order: -1;
    }
}
